<style type="text/css">
.container .floattop { padding-bottom: 0; }
.container .floattop .tab1{ margin-bottom: 0; }
	#cpform textarea { width: 95%; }
</style>
<form id="cpform" action="?action=plugins&operation=config&do={$_GET['do']}&identifier=jameson_read&pmod=jameson_read&contrl=help&act=fuli" autocomplete="off" method="post" name="cpform">
<h3>{lang jameson_read:fulitianxie}</h3>
<script type="text/javascript" src="static/image/editor/editor_function.js"></script>
{eval}
showtablerow('', array('class="td27"', 'class="td28"'), array('<textarea class="userData" name="fulitext" id="uchome-ttHtmlEditor" style="height: 100%; width: 100%; display: none; border: 0px">'.stripcslashes($fulitext['adv']).'</textarea>'));

showtablerow('', array('class="td25"', 'class="td28"'), array(" <iframe src='home.php?mod=editor&charset=".CHARSET."&allowhtml=1&isportal=0' name='uchome-ifrHtmlEditor' id='uchome-ifrHtmlEditor'  scrolling='no' style='width:100%;height:500px;border:1px solid #C5C5C5;position:relative;' border=0 frameborder=0 ></iframe>",));  

{/eval}
<br><br>
{if $fulitext}
<input type="hidden" name="fuliid" value="{$fulitext['topic_id']}">
{/if}
<input type="hidden" name="formhash" value="{FORMHASH}">
<input id="submit_editsubmit" class="btn" type="submit" value="{lang jameson_read:tijiao}" name="editsubmit" onClick='validate(this);'>
<br>
<script>
function validate(obj){
    edit_save();
    window.onbeforeunload = null;
    obj.form.submit();
    return false;
}
_attachEvent(window,'load',noimg);
function noimg(){
	var allhref = $("uchome-ifrHtmlEditor").contentWindow.$("dvToolbar").getElementsByTagName('a');
	for(var i=0,len=allhref.length;i<len;i++){
		if(in_array(allhref[i].getAttribute('class'),['icoFullTxt','icoSwitchTxt','icoImg'])){
			allhref[i].setAttribute('style','display:none');
		}
	}
}
</script>
</form>